package com.im.partchat.bean;

import com.im.partchat.db.PartChatDataBase;
import com.raizlabs.android.dbflow.annotation.Column;
import com.raizlabs.android.dbflow.annotation.PrimaryKey;
import com.raizlabs.android.dbflow.annotation.Table;

/**
 * Created by fzl on 2017/6/28 0028.
 * VersionCode: 1
 * Desc:
 */
@Table(name = "t_dept", database = PartChatDataBase.class, cachingEnabled = true)
public class Department {

    /**
     * id : 1
     * name : 总部
     * code : 001
     * seq : 1
     * parentId : 0
     */
    @PrimaryKey
    @Column(name = "depet_id")
    private String id;
    @Column
    private String name;
    @Column
    private String code;
    @Column
    private int seq;
    @Column
    private String parentId;
    @Column
    private String jd;
    @Column
    private String wd;
    @Column
    private String address;
    @Column
    private String clsj;
    @Column(name = "c_number")
    private int number;
    @Column
    private String tel;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public int getSeq() {
        return seq;
    }

    public void setSeq(int seq) {
        this.seq = seq;
    }

    public String getParentId() {
        return parentId;
    }

    public void setParentId(String parentId) {
        this.parentId = parentId;
    }

    public String getJd() {
        return jd;
    }

    public void setJd(String jd) {
        this.jd = jd;
    }

    public String getWd() {
        return wd;
    }

    public void setWd(String wd) {
        this.wd = wd;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getClsj() {
        return clsj;
    }

    public void setClsj(String clsj) {
        this.clsj = clsj;
    }

    public int getNumber() {
        return number;
    }

    public void setNumber(int number) {
        this.number = number;
    }

    public String getTel() {
        return tel;
    }

    public void setTel(String tel) {
        this.tel = tel;
    }
}
